/**
 * Bill dao Object
 */
package cn.tonyqiu.wonuly.dao.ibatis;

import java.util.List;

import cn.tonyqiu.wonuly.dao.BillDao;
import cn.tonyqiu.wonuly.model.Bill;

/**
 * @author <a href="mailto:tony.qiu.smart@gmail.com">Tony Qiu</a>
 *
 */
public class BillDaoiBatis extends GenericDaoiBatis<Bill, Integer> implements BillDao {

	public BillDaoiBatis() {
		super(Bill.class);
	}
	
	@Override
	@SuppressWarnings("unchecked")
	public List<Bill> getBillsByUserId(Integer userId) {
		return getSqlMapClientTemplate().queryForList("getBillsByUserId",userId);
	}

}
